$(document).ready(function() {
			$("#btn_submit").click(function() {
			     if(!validateEmail($("#email1").val())){
			         showPromptBox("email不合法！");
			         return;
			     }      
			     $(this).attr("disabled", true);
				 $.post("email/valid" , {email:$("#email1").val()}, function(data) {
					   if (data.result ===true) {
						      $("#hid_email").val($("#email1").val());
						      $("#frm_submit").submit();
						} else {
						       $("#btn_submit").attr("disabled", false);
						       showPromptBox(data.message);
							   return;
						}
					 });
			 });		 
		});